package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.query.StrategyCatalogQueryObject;
import cn.wolfcode.wolf2w.query.StrategyThemeQueryObject;
import cn.wolfcode.wolf2w.vo.DestCatalogVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCatalogService {

    void save(StrategyCatalog strategyCatalog);

    void delete(String id);

    void update(StrategyCatalog strategyCatalog);

    StrategyCatalog find(String id);

    List<StrategyCatalog> findAll();

    Page query(StrategyCatalogQueryObject qo);

    /**
     * 查询目的地以及相关的攻略分类集合
     * @return
     */
    List<DestCatalogVO> queryCatalogByDest();

    /**
     * 根据目的地分组查询攻略分类集合
     * @return
     */
    List<DestCatalogVO> groupList();

    /**
     * 查询目的地下的所有攻略分类和攻略明细
     * @param destId
     * @return
     */
    List<StrategyCatalog> queryStrategyDetail(String destId);

}
